/**
 * 文件名：OrderSpecService.java
 *
 * 创建人：Fyh - 1009173473@qq.com
 *
 * 创建时间：2019年4月16日 下午2:56:41
 *
 * 版权所有：南京植百汇智能科技服务有限公司
 */
package com.z100h.supplychain.order.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.z100h.supplychain.order.entity.ErpSkuDetail;
import com.z100h.supplychain.order.entity.OrderSpec;
import com.z100h.supplychain.order.mapper.OrderSpecMapper;

/**
 * [描述信息：说明类的基本功能]
 *
 * @author Fyh - 1009173473@qq.com
 * @version 1.0 Created on 2019年4月16日 下午2:56:41
 */
@Service
public class OrderSpecService {

	@Autowired
	private OrderSpecMapper orderSpecMapper;

	public List<OrderSpec> findOrderSpecListByStorageId(String orderId, String storageId) {
		return orderSpecMapper.findOrderSpecListByStorageId(orderId, storageId);
	}

	public List<OrderSpec> findOrderSpecList(String orderId) {
		return orderSpecMapper.findOrderSpecList(orderId);
	}

	public List<OrderSpec> findRepairByCustomerId(String customerId) {
		return orderSpecMapper.findRepairByCustomerId(customerId);
	}

	public List<OrderSpec> findOrderDetailByCustomerId(String customerId) {
		return orderSpecMapper.findOrderDetailByCustomerId(customerId);
	}

	public List<OrderSpec> findSummaryByCustomerId(String customerId) {
		return orderSpecMapper.findSummaryByCustomerId(customerId);
	}

	public List<OrderSpec> findCustomerDetail(String customerId, String serviceType) {
		return orderSpecMapper.findCustomerDetail(customerId, serviceType);
	}

	public List<ErpSkuDetail> findAll(List<String> evidenceIds, String isSupplement) {
		return orderSpecMapper.findAll(evidenceIds, isSupplement);
	}

	public List<ErpSkuDetail> findAllFlowerpots(List<String> evidenceIds, String isSupplement) {
		return orderSpecMapper.findAllFlowerpots(evidenceIds, isSupplement);
	}

	public List<OrderSpec> findSummarySkuByCustomerId(String customerId) {
		return orderSpecMapper.findSummarySkuByCustomerId(customerId);
	}

	public List<OrderSpec> findRepairSkuByCustomerId(String customerId) {
		return orderSpecMapper.findRepairSkuByCustomerId(customerId);
	}

	public List<OrderSpec> findOrderDetailSkuByCustomerId(String customerId) {
		return orderSpecMapper.findOrderDetailSkuByCustomerId(customerId);
	}
}
